<template>
    <div class="template-menu">
        <div class="collapse navbar-collapse navbar-ex1-collapse">
            <ul class="nav navbar-nav side-nav">
                <li>
                    <a href="javascript:;" data-toggle="collapse" data-target="#demo1">
                        <i class="iconfont icon-qian"></i> 零售收款
                        <i class="i-left iconfont icon-jiantou-down"></i>
                    </a>
                    <ul id="demo1" class="collapse" style="display: block">
                        <li @click="onBar">
                            <router-link to="/" class="colorG">零售收款</router-link>
                        </li>
                        <li>
                            <router-link to="/Nissin" class="colorG">日清</router-link>
                        </li>
                    </ul>
                </li>
                <li>
                    <a href="javascript:;" data-toggle="collapse" data-target="#demo">
                        <i class="iconfont icon-sousuo1"></i> 零售查询
                        <i class="i-left iconfont icon-jiantou-down"></i>
                    </a>
                    <ul id="demo" class="collapse">


                        <li>
                            <a href="javascript:;" data-toggle="collapse" data-target="#formerly">
                                <i class="iconfont icon-sousuo1"></i> 往日
                                <i class="iconfont icon-jiantou-down" style="float: right; margin-right: 2px; font-size: 14px;"></i>
                            </a>
                            <ul id="formerly" class="collapse">
                                <li>
                                    <router-link to="/QueryPast" class="colorG">往日交易流水</router-link>
                                </li>
                                <li>
                                    <router-link to="/CommodityPast" class="colorG">往日商品销售汇总</router-link>
                                </li>
                                <li>
                                    <router-link to="/CashierPast" class="colorG">往日收款员汇总</router-link>
                                </li>
                            </ul>
                        </li>


                        <li>
                            <router-link to="/charts" class="colorG">实时营业额</router-link>
                        </li>
                        <li>
                            <router-link to="/QueryCurrent" class="colorG">当日交易流水</router-link>
                        </li>
                        <li>
                            <router-link to="/PaymentMethodPast" class="colorG">往日收款方式汇总</router-link>
                        </li>
                        <li>
                            <router-link to="/Summary" class="colorG">结算汇总</router-link>
                        </li>
                        <li>
                            <router-link to="/CashMonitoring" class="colorG">收款台监测</router-link>
                        </li>
                        <li>
                            <router-link to="/SalesReceipts" class="colorG">销售收款流水</router-link>
                        </li>
                        <li>
                            <router-link to="/SalesSummary" class="colorG">销售汇总</router-link>
                        </li>
                        <li>
                            <router-link to="/RetailAnalysisOfHour" class="colorG">零售时段分析</router-link>
                        </li>
                    </ul>
                </li>
                <li>
                    <a href="javascript:;" data-toggle="collapse" data-target="#demo4">
                        <i class="iconfont icon-cangku"></i> 库存管理
                        <i class="i-left iconfont icon-jiantou-down"></i>
                    </a>
                    <ul id="demo4" class="collapse">
                        <li>
                            <router-link to="/Management" class="colorG">动货盘存</router-link>
                        </li>
                    </ul>
                </li>
                <li>
                    <a href="javascript:;" data-toggle="collapse" data-target="#demo3">
                        <i class="iconfont icon-huiyuan"></i> 会员管理
                        <i class="i-left iconfont icon-jiantou-down"></i>
                    </a>
                    <ul id="demo3" class="collapse">
                        <!-- <li>
                            <router-link to="/card" class="colorG">会员卡分析</router-link>
                        </li> -->
                        <li>
                            <router-link to="/AdminCard" class="colorG">会员卡管理</router-link>
                        </li>
                        <li>
                            <router-link to="/SalesAnalysis" class="colorG">会员销售分析</router-link>
                        </li>
                    </ul>
                </li>
                <li>
                    <a href="javascript:;" data-toggle="collapse" data-target="#demo2">
                        <i class="iconfont icon-gouyao"></i> 效期商品查询
                        <i class="i-left iconfont icon-jiantou-down"></i>
                    </a>
                    <ul id="demo2" class="collapse">
                        <li>
                            <router-link to="/Data" class="colorG">效期商品查询</router-link>
                        </li>
                    </ul>
                </li>
                 <li>
                    <a href="javascript:;" data-toggle="collapse" data-target="#demo5">
                        <i class="iconfont icon-jifen"></i> 药监系统功能
                        <i class="i-left iconfont icon-jiantou-down"></i>
                    </a>
                    <ul id="demo5" class="collapse">
                        <li>
                            <router-link to="/Kaoqin" class="colorG">门店考勤记录</router-link>
                        </li>
                        <li>
                            <router-link to="/Humiture" class="colorG">门店温湿度记录</router-link>
                        </li>
                        <li>
                            <router-link to="/DrugData" class="colorG">药监数据导出</router-link>
                        </li>
                    </ul>
                </li>
                <li>
                    <router-link to="/System" class="colorG"><i class="iconfont icon-shezhi"></i> 系统设置</router-link>
                </li>
            </ul>
        </div>
    </div>
</template>

<script>
    import bus from "../../api/eventBus";
    export default {
        data() {
            return {
            };
        },
        props: {},
        methods: {
            onBar(e){
                history.go(0);
            }
        },
         
    };
</script>